package com.chengyu.core.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chengyu.core.entity.MerchantShareRule;
import com.chengyu.core.mapper.MerchantShareRuleMapper;
import com.chengyu.core.response.MerchantShareRuleResp;
import com.chengyu.core.service.IMerchantShareRuleService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 商户场景分成规则表 服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2023-05-19
 */
@Service
public class MerchantShareRuleServiceImpl extends ServiceImpl<MerchantShareRuleMapper, MerchantShareRule> implements IMerchantShareRuleService {

    @Override
    public MerchantShareRuleResp getShareRuleByCode(String sceneCode) {
        return baseMapper.getShareRuleByCode(sceneCode);
    }
}
